package net.suncaper.psychological.mapper;

import net.suncaper.psychological.model.domain.VisitRecord;
import java.util.List;
import java.util.Map;

public interface VisitRecordMapper {
    int insertVisitRecord(VisitRecord visitRecord);
    List<VisitRecord> selectInitialVisitRecords();
    VisitRecord selectVisitRecordById(Long id);
    List<VisitRecord> selectVisitRecordsByAppointmentId(Long appointmentId);
    int updateVisitRecordType(Long id, String type);
    int deleteVisitRecordById(Long id);
    List<VisitRecord> selectConsultVisitRecords();
    List<Map<String, Object>> selectConsultVisitRecordsWithAppointment();
} 